package Chapter07;

public class CarTest {
	public static void main(String[] args) {
		
		Car c = new Car("Benz", "black");
		
		System.out.println(c.getBrand());
		System.out.println(c.getColor());
		System.out.println(c.getSpeed());
		
		c.setColor("white");
		
		c.setSpeed(80);
		
		System.out.println(c.getBrand());
		System.out.println(c.getColor());
		System.out.println(c.getSpeed());
	}
}